import React from 'react';
import Home from './view/Home'
import {HashRouter as Router, Route, Link} from 'react-router-dom';
import './App.css';
import Login from "./view/Login";
import Info from "./view/Info";

function App() {
    return (
        <Router>
        <div className="App">
            <Route path="/" exact component={Login}></Route>
            <Route path="/home" component={Home}></Route>
            <Route path="/info/:id" component={Info}></Route>
        </div>

        </Router>
    );
}

export default App;
